package com.example.ndkjnidemo.home.basetype;

import android.os.Bundle;

import androidx.appcompat.app.AppCompatActivity;

import com.example.ndkjnidemo.databinding.ActivityBaseTypeBinding;

/**
 *
 */
public class BaseTypeActivity extends AppCompatActivity {

    private static final String TAG = "BaseTypeActivity";
    private ActivityBaseTypeBinding binding;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);

        binding = ActivityBaseTypeBinding.inflate(getLayoutInflater());
        setContentView(binding.getRoot());

        //===
        onJniData();
    }

    public void onJniData() {
        new JNIData().data((byte)100, 'A', true, (short)100, 100, 100f, 100, 100,
                new float[] {1.0f, 2.1f, 3.3f});
    }

}